﻿using System.IO;
using NExplorer.Core.Properties;

namespace NExplorer.Core.Commands
{
	internal class DeleteCommand : AnyItemsCommandBase
	{
		public DeleteCommand() 
			: base("Delete", Resources.Delete.ToBitmap())
		{}

		protected override void Execute(FileSystemInfo fileSystemInfo)
		{
			fileSystemInfo.Delete();
		}
	}
}